<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="../vue.js/vue.js"></script>
  </head>

  <body>
    <div id="example-5">
      <select v-model="abc">
        <option disabled value="">请选择</option>
        <option>A</option>
        <option>B</option>
        <option>C</option>
      </select>
      <span>Selected: {{ abc }}</span>

      <hr />

      <select v-model="selected" multiple style="width: 100px">
        <option value="a">A</option>
        <option value="b">B</option>
        <option value="c">C</option>
        <option :value="{ number: 123 }">Object</option>
      </select>
      <br />
      <span>Selected: {{ selected }}</span>
    </div>

    <script>
      new Vue({
        el: "#example-5",
        data: {
          abc: "",
          selected: [],
        },
      });
    </script>
  </body>
</html>
